home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1995 December / buyer-1295.iso / alphablo / blox.1 / Compound Interest (Designer).csf < prev    next >
Text File  |  1995-07-26  |  4KB  |  124 lines

  1. Compound Interest,197,85
  2. rem (C) Copyright 1995 AlphaBlox Corporation
  3.  
  4. BEGIN
  5. rem button attributes
  6. // memory
  7.     FONT,Memory,16,0,0,0,600,0,0,0,0,1,2,2,34,Arial
  8.     TEXTCOLOR,Memory,0,0,0
  9.     KEYCOLOR,Memory,0,255,0
  10.  
  11.  
  12. // numbers
  13.     FONT,Number,-17,0,0,0,900,0,0,0,0,1,2,2,34,Arial
  14.     TEXTCOLOR,Number,255,255,255
  15.     KEYCOLOR,Number,0,0,255
  16.  
  17.  
  18. // ops
  19.     FONT,Ops,-17,0,0,0,900,0,0,0,0,1,2,2,34,Arial
  20.     TEXTCOLOR,Ops,255,255,255
  21.     KEYCOLOR,Ops,255,0,255
  22.  
  23. // clear
  24.     FONT,Clear,16,0,0,0,600,0,0,0,0,1,2,2,34,Arial
  25.     TEXTCOLOR,Clear,0,0,0
  26.     KEYCOLOR,Clear,255,255,0
  27.  
  28. //enter
  29.     FONT,Enter,17,0,0,0,700,0,0,0,0,1,2,2,34,Arial
  30.     TEXTCOLOR,Enter,255,255,255
  31.     KEYCOLOR,Enter,255,0,0
  32.  
  33.  
  34. //symbols
  35.     BUTTONBITMAP,backspace,backspace,0
  36.     BUTTONBITMAP,root,root,0
  37.     BUTTONBITMAP,square,square,0
  38.  
  39. //business
  40.     FONT,Business,16,0,0,0,600,0,0,0,0,1,2,2,34,Arial
  41.     TEXTCOLOR,Business,0,0,0
  42.     KEYCOLOR,Business,192,192,192
  43.     
  44.  
  45. //custom
  46.     FONT,Custom,16,0,0,0,600,0,0,0,0,1,2,2,34,Arial
  47.     TEXTCOLOR,Custom,255,255,255
  48.     KEYCOLOR,Custom,0,128,128
  49.     
  50.     
  51. //keypad look & feel
  52.     FONT,Title,-8,0,0,0,700,0,0,0,0,1,2,2,34,Ms Sans Serif
  53.     TEXTCOLOR,Title,255,255,255
  54.  
  55. // Solver position and group    
  56.     FONT,Solver,-8,0,0,0,400,0,0,0,0,1,2,2,34,Ms Sans Serif
  57.     TEXTCOLOR,Solver,255,255,255
  58.     KEYCOLOR,Solver,0,0,255    
  59.     SOLVER,194,21
  60.  
  61. //Global keyblox requirements
  62.     MODE,4
  63.     BASE,0
  64.     FONT,Title,16,0,0,0,700,0,0,0,0,1,2,2,34,Arial
  65.     TEXTCOLOR,Title,0,0,0
  66.     FONT,Title2,16,0,0,0,700,0,0,0,0,1,2,2,34,Arial
  67.     TEXTCOLOR,Title2,255,255,0
  68.  
  69.     BITMAP,0,0,1000,1000,calc_cave,0
  70.     BITMAP,22,22,9,9,AlphaBlox,0
  71.     TEXT,36,23,90,8,Title,"AlphaBlox"
  72.     TEXT,35,22,90,8,Title2,"AlphaBlox"
  73.     
  74.     TEXT,130,23,90,9,Title,"Compound Interest"
  75.     TEXT,129,22,90,9,Title2,"Compound Interest"
  76.     
  77.  
  78. rem main keypad
  79.     LCD,4,5,188,15
  80.     BUTTON,4,21,15,11,Memory,"M+",1,memory plus
  81.     BUTTON,4,33,15,11,Memory,"M-",1,memory minus
  82.     BUTTON,4,45,15,11,Memory,"MR",1,memory recall
  83.     BUTTON,4,57,15,11,Memory,"MC",1,memory clear
  84.     BUTTON,4,69,15,11,Memory,"MS",1,memory store
  85.  
  86.     BUTTON,22,33,15,11,Number,"7",0,7
  87.     BUTTON,22,45,15,11,Number,"4",0,4
  88.     BUTTON,22,57,15,11,Number,"1",0,1
  89.     BUTTON,22,69,15,11,Number,"0",0,0
  90.     BUTTON,40,33,15,11,Number,"8",0,8
  91.     BUTTON,40,45,15,11,Number,"5",0,5
  92.     BUTTON,40,57,15,11,Number,"2",0,2
  93.     BUTTON,40,69,15,11,Number,"+/-",1,plus minus
  94.     BUTTON,58,33,15,11,Number,"9",0,9
  95.     BUTTON,58,45,15,11,Number,"6",0,6
  96.     BUTTON,58,57,15,11,Number,"3",0,3
  97.     BUTTON,58,69,15,11,Number,".",0,.
  98.  
  99.     BUTTON,76,33,15,11,Ops,"/",1,divide
  100.     BUTTON,76,45,15,11,Ops,"x",1,times
  101.     BUTTON,76,57,15,11,Ops,"+",1,plus
  102.     BUTTON,76,69,15,11,Ops,"-",1,minus
  103.  
  104.     BUTTON,76,21,15,11,backspace," ",1,backspace
  105.     BUTTON,94,21,15,11,Clear,"CE",1,clear    
  106.     BUTTON,94,33,15,11,Business,"Tax",1,tax
  107.     BUTTON,94,45,15,11,Business,"%",1,percentage
  108.     BUTTON,94,57,15,11,Enter,"Ent",1,enter
  109.     BUTTON,94,69,33,11,Enter,"=",1,equals
  110.  
  111.     BUTTON,112,21,15,11,Clear,"AC",1,clear all
  112.     BUTTON,112,33,15,11,square," ",1,square
  113.     BUTTON,112,45,15,11,root," ",1,square root    
  114.     BUTTON,112,57,15,11,Business,"1/x",1,invert
  115.  
  116. //compound interest buttons
  117.     BUTTON,130,33,61,11,Custom,"Present Value",2,"Present Value=Future value/((((Interest rate pct per period/100)+1)^Number of periods))"
  118.     BUTTON,130,45,61,11,Custom,"Interest rate %",2,"Interest rate pct per period=100*(((Future value/present value)^(1/Number of periods))-1)"
  119.     BUTTON,130,57,61,11,Custom,"No of Periods",2,"Number of Periods=log(future value/present value)/log(1+(Interest rate pct per period/100))"
  120.     BUTTON,130,69,61,11,Custom,"Future Value",2,"Future Value=(((Interest rate pct per period/100)+1)^Number of periods)*present value"
  121.  
  122.  
  123. END
  124.